import request from '@/api/request.js'
// 查询表单详情
export function getErrorInfo(params) {
    return request({
        url: 'wflow/error/info',
        method: 'get',
        params: params,
    })
}

export function interfaceCallback(params) {
    return request({
        url: 'wflow/error/info',
        method: 'post',
        data: params,
    })
}

export function deleteData(id) {
    return request({
        url: 'wflow/error/info/' + id,
        method: 'delete'
    })
}

export default {
    getErrorInfo,interfaceCallback,deleteData
}
